package com.example.zhaojianxu.signin.englishStudy.main

import android.os.Bundle
import android.view.View
import com.example.zhaojianxu.signin.R
import com.example.zhaojianxu.signin.bean.BaseActivity
import com.example.zhaojianxu.signin.common.info.InfoActivity
import com.example.zhaojianxu.signin.englishStudy.study.view.StudyActivity
import kotlinx.android.synthetic.main.activity_english_main.*
import kotlinx.android.synthetic.main.common_title_bar.*

/**
 * 学习英语
 */
class EnglishMainActivity : BaseActivity() {
    override fun initView() {
        common_back.visibility = View.GONE
        common_setting.visibility = View.GONE
        common_title.text = "英语"

        activity_english_1.setOnClickListener {
            toOtherActivity(StudyActivity::class.java)
        }
        activity_english_2.setOnClickListener {
            toOtherActivity(StudyActivity::class.java)
        }
        activity_english_3.setOnClickListener {
            toOtherActivity(InfoActivity::class.java)
        }
    }

    override fun initData() {
    }

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_english_main)
    }
}
